<div>
    <div class="row-content am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">图书信息管理</div>
                        <div class="widget-function am-fr">
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入关键字进行查询" title="请输入关键字进行查询" ng-model="filter.name">
                        </div>
                    </div>
                    <!--<div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入作者名称" title="请输入作者名称" ng-model="filter.author">
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入出版社名称" title="请输入出版社名称" ng-model="filter.publisher">
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入ISBN" title="请输入ISBN" ng-model="filter.isbn">
                        </div>
                    </div>
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                            <input type="text" class="am-form-field " placeholder="请输入语种" title="请输入语种" ng-model="filter.language">
                            <span class="am-input-group-btn">
                                <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search" type="button" ng-click="search()"></button>
                            </span>
                        </div>
                    </div>-->
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-2">
                        <button type="button" class="am-btn am-btn-sm am-btn-primary tpl-btn-bg-color-success " ng-click="add(null,1)"><i class="am-icon-plus"></i> 新增</button>
                    </div>
                    <div class="widget-body  widget-body-lg am-fr">
                        <ul class="am-avg-sm-2 am-avg-md-3 am-avg-lg-4 am-thumbnails">
                            <li ng-repeat="item in bookData|filter:filter.name">
                                <div>
                                    <div>
                                        <img class="am-thumbnail" ng-src="{{item.icon}}" ng-if="item.icon!=null&&item.icon!=''" />
                                        <img class="am-thumbnail" src="assets/img/book.jpg" ng-if="item.icon==null||item.icon==''" />
                                    </div>
                                    <div>
                                        <span>图书名称：{{item.name}}</span><br />
                                    </div>
                                    <div>
                                        <span>作者：{{item.author}}</span><br />
                                    </div>
                                    <div style="text-align:right;">
                                        <a href="javascript:;" class="am-icon-info" ng-click="add(item,3)"></a>&nbsp;&nbsp;&nbsp;
                                        <a href="javascript:;" class="am-icon-pencil" ng-click="add(item,2)"></a>&nbsp;&nbsp;&nbsp;
                                        <a href="javascript:;" class="am-icon-trash" ng-click="delete(item)"></a>
                                    </div>

                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
